package com.airlines.crewassignment.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;


 
public class CrewFlyDuty {
	private Date flightDate;
	private String workcode;
	private Date start;
	private Date end;
	private Double dutyTimeSum; //飞行执勤时间统计，不一定是结束-开始，中间还有去除休息期，单位小时
	private Double restTimeSum;//飞行执勤期间的休息期时间
	
	
	private List<FlightInfo> flightInfoList = new ArrayList<>(); //该日历中涉及的航班


	public Date getFlightDate() {
		return flightDate;
	}


	public void setFlightDate(Date flightDate) {
		this.flightDate = flightDate;
	}


	public String getWorkcode() {
		return workcode;
	}


	public void setWorkcode(String workcode) {
		this.workcode = workcode;
	}


	public Date getStart() {
		return start;
	}


	public void setStart(Date start) {
		this.start = start;
	}


	public Date getEnd() {
		return end;
	}


	public void setEnd(Date end) {
		this.end = end;
	}


	public Double getDutyTimeSum() {
		return dutyTimeSum;
	}


	public void setDutyTimeSum(Double dutyTimeSum) {
		this.dutyTimeSum = dutyTimeSum;
	}


	public Double getRestTimeSum() {
		return restTimeSum;
	}


	public void setRestTimeSum(Double restTimeSum) {
		this.restTimeSum = restTimeSum;
	}


	public List<FlightInfo> getFlightInfoList() {
		return flightInfoList;
	}


	public void setFlightInfoList(List<FlightInfo> flightInfoList) {
		this.flightInfoList = flightInfoList;
	}
	
	
	
}
